package commandset;

public class SystemCall {
	private static String syscall = "SystemCall";
	private String read_action = "READ";
	private String write_action = "WRITE";
	public String required_permission = "";
	public String resourse_uri = "";

	SystemCall(String res_uri, String req_per) {
		
		this.resourse_uri = req_per;
		this.required_permission = req_per;
	}

	

	public String getRequired_permission() {
		return required_permission;
	}



	public void setRequired_permission(String required_permission) {
		this.required_permission = required_permission;
	}



	public String getResourse_uri() {
		return resourse_uri;
	}



	public void setResourse_uri(String resourse_uri) {
		this.resourse_uri = resourse_uri;
	}



	public String getRead_action() {
		return read_action;
	}



	public String getWrite_action() {
		return write_action;
	}



	public String printSystemCallWithReadAction() {
		return syscall + "(" + read_action + ", " + resourse_uri + ", "
				+ required_permission + ");";
	}

	public String printSystemCallWithWriteAction() {
		return syscall + "(" + write_action + ", " + resourse_uri + ", "
				+ required_permission + ");";
	}
}
